package com.hexb.smh.entity.param.config;

import com.hexb.core.utils.MapBuilder;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.Map;

import static com.hexb.smh.utils.SmhConstant.AMOUNT_PATTERN;
import static com.hexb.smh.utils.SmhConstant.RATE_PATTERN;

/**
 * @author : hexb
 */
@Data
public class EvaluateParam {

    @ApiModelProperty("产品ids列表")
    @NotEmpty
    private Integer[] ids;

    @ApiModelProperty("成交价")
    @Pattern(regexp = AMOUNT_PATTERN)
    @NotNull
    private String dealPrice;

    @ApiModelProperty("项目品牌id")
    private Integer brandId;


}
